<#include "../../head.ftl">
<div class="page_title">客户信息管理 > 客户信息 > 联系人 </div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="to('${base}/contact/queryBefore?customerid=${customer.id}');">新建</button>
    <button class="common_button" onclick="back();">返回</button>
</div>
<table class="query_form_table">
    <tr>
        <th>客户编号</th>
        <td>${customer.identity}</td>
        <th>客户名称</th>
        <td>${customer.name}</td>
    </tr>
</table>
<br />
<table class="data_list_table">
    <tr>
        <th>姓名</th>
        <th>性别</th>
        <th>职位</th>
        <th>办公电话</th>
        <th>手机</th>
        <th>备注</th>
        <th>操作</th>
    </tr>

    <#list contactList as contact>
        <tr>
            <td class="list_data_text">${contact.name!''}</td>
            <td class="list_data_ltext">${contact.gender!''}</td>
            <td class="list_data_text">${contact.post!''}</td>
            <td class="list_data_text">${contact.officephone!''}</td>
            <td class="list_data_text">${contact.telephone!''}</td>
            <td class="list_data_op">${contact.remarks!''}</td>
            <td class="list_data_op">
                <a href="${base}/contact/queryBefore?id=${contact.id}">
                    <img title="编辑" src="${base}/images/bt_edit.gif" class="op_button" />
                </a>
                <a href="${base}/contact/delete?id=${contact.id}">
                    <img title="删除" src="${base}/images/bt_del.gif" class="op_button" />
                </a>
            </td>
        </tr>
    </#list>
</table>
</body>
</html>